Adwaita: reset entry props on horizontal spinbuttons
authorLapo Calamandrei <calamandrei@gmail.com>
Sat, 19 Mar 2016 17:09:22 +0000 (18:09 +0100)
committerLapo Calamandrei <calamandrei@gmail.com>
Sat, 19 Mar 2016 17:09:22 +0000 (18:09 +0100)
the spinbutton node is where the styling is applied, the leftover
properties on the entry node make a backdrop transition bad.

gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css

index 1da27c183a0e5036f37e07e609856ef0117a90f9..6036bc71b1cb53fc1784d23f3efe419e051d6e06 100644 (file)
@@ -987,9 +987,12 @@ spinbutton {
 
     entry {
       min-width: 28px;
+      // reset all the other props since the spinbutton node is styled here
       margin: 0;
       background: none;
+      background-color: transparent;
       border: none;
+      border-radius: 0;
       box-shadow: none;
     }
 
index ab6fbdefa384cc4a630319dfb8e62203c5b7de2e..e4495ed5df5cffe890cd34e3a41c2954aacc465d 100644 (file)
@@ -1215,7 +1215,9 @@ spinbutton:not(.vertical) {
     min-width: 28px;
     margin: 0;
     background: none;
+    background-color: transparent;
     border: none;
+    border-radius: 0;
     box-shadow: none; }
   spinbutton:not(.vertical) button {
     min-height: 16px;
index 33e08fbcf6874029c524fc4ea03b04bd148bc0b8..ccdac8961675282ef1dd35d83f2e5e7ea220fdad 100644 (file)
@@ -1221,7 +1221,9 @@ spinbutton:not(.vertical) {
     min-width: 28px;
     margin: 0;
     background: none;
+    background-color: transparent;
     border: none;
+    border-radius: 0;
     box-shadow: none; }
   spinbutton:not(.vertical) button {
     min-height: 16px;